package com.project.service.Impl;

import com.project.bean.CityBean;
import com.project.mapper.ICityMapper;
import com.project.service.ICityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author liuyulai
 * Created with IntelliJ IDEA.
 * Date: 21.7.11
 * Time: 16:07
 * Description: 地区业务层实现类
 */
@Service
@Transactional
public class CityServiceImpl implements ICityService {
    @Autowired
    private ICityMapper iCityMapper;

    @Override
    public List<CityBean> showAllCity() {
        return iCityMapper.showAllCity();
    }
}
